var base = getApp();
Page({
  data: {
    infolist: {},
    url: base.path.url,
    skuimg:""
  },
  onLoad: function (e) {
    var that = this;
    var orderno = e.orderno;
    var skuimg = e.skuimg;
    wx.request({
      url: base.path.api + 'Order.ViewLogistics',
      data: {
        md5key: base.user.session_key,
        orderno: orderno,
      },
      method: "POST",
      header: base.user.header,
      success: function (response) {
        var result = response.data;
        if (result.ret == 200) {
          var infolist = result.data;
          that.setData({
            infolist:infolist,
            skuimg: skuimg
          });
        }
      }
    })
  },


})